package ru.kurganec.ifmo.netland.event.chat;

/**
 * Created by IntelliJ IDEA.
 * User: oo
 * Date: 14.07.11
 * Time: 17:17
 */
public class EnterEvent extends ChatEvent{
    // ===========================================================
    // Constants
    // ===========================================================

    // ===========================================================
    // Fields
    // ===========================================================
    private String channel;
    private String time;
    private String id;//TODO: Chto eto?
    private String nick;
    private String ip;
    private String computerName;
    // ===========================================================
    // Constructors
    // ===========================================================

    public EnterEvent(Object source, String message,
                          String channel, String time, String id, String nick, String ip, String computerName) {
        super(source, message);
        this.channel = channel;
        this.time = time;
        this.id = id;
        this.nick = nick;
        this.ip = ip;
        this.computerName = computerName;
    }


    // ===========================================================
    // Getter & Setter
    // ===========================================================

    public String getChannel() {
        return channel;
    }

    public String getTime() {
        return time;
    }

    public String getId() {
        return id;
    }

    public String getNick() {
        return nick;
    }

    public String getIp() {
        return ip;
    }

    public String getComputerName() {
        return computerName;
    }

    // ===========================================================
    // Methods for/from SuperClass/Interfaces
    // ===========================================================

    // ===========================================================
    // Methods
    // ===========================================================

    // ===========================================================
    // Inner and Anonymous Classes
    // ===========================================================
}
